package com.seewo.dubbo.debugger.admin.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.seewo.dubbo.debugger.admin.entity.Registry;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author chenliangliang
 * @since 2018-07-29
 */
public interface RegistryMapper extends BaseMapper<Registry> {

    /**
     * 查询id
     *
     * @param address
     * @param protocol
     * @return
     */
    Integer selectId(@Param("address") String address, @Param("protocol") String protocol);
}
